
<section class="ui-container">      
       <div class="title">项目详情</div>
		<g:if test="${project.projectDetail== null}">
			<div class="u-module ui-border-tb">
				<!--  <p class="ui-txt-tips ui-border-b">${project.detail }</p>-->
				<%--<p class="ui-txt-tips">${project.detail }</p>--%>
				<p class="ui-txt-tips" id="projectDetail"></p>
				<input type="hidden" value="${project.detail }" id="projectDetailHtml">
			        	<script type="text/javascript">
							$("#projectDetail").html($("#projectDetailHtml").val());
			        	</script>
				
				<!--  </div>      -->
				<g:each in="${project.projectPics}" var="projectPic">
					<!--  <div class="u-module ui-border-tb">  -->
					<img class="img-detail"
						src="/scfire/project/imgRead?img=${projectPic.pic}" alt="">
					<p class="ui-txt-tips content">${projectPic.content}</p>
					<!--</div>-->
				</g:each>
			</div>
		</g:if>
		<g:else>
			<div class="u-module ui-border-tb" id="projectContext">${raw(project.projectDetail)}</div>
		</g:else>
		<script type="text/javascript">
		$('.ui-txt-tips').each(function(){
        	var contents = '';
        	contents = $(this).html();
        	$(this).html(contents.replace(/#\S+#/g, '<b>$&</b>').replace(/#/g, ''));
        });
		</script>
</section>  

